<template>
  <div>
    <i-switch class="switch-item" :value="value" :disabled="config.disabled" :size="config.size">
      <span slot="open">{{config.trueValue}}</span>
      <span slot="close">{{config.falseValue}}</span>
    </i-switch>
  </div>
</template>

<script>
export default {
  props: ['value', 'config'],
  data () {
    return {};
  },
  methods: {}
};
</script>
